package com.wltt.product.ahuthr.mapper;

import com.wltt.product.ahuthr.mapper.base.BaseMapper;
import com.wltt.product.ahuthr.model.po.AgreementAttachFilePO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @ClassName: AgreementAttachFilePO
 * @Description: Dao
 * @Date: 2024-08-15 15:59:23
 * @Author yanggl
 */
public interface AgreementAttachFileMapper extends BaseMapper<AgreementAttachFilePO, Long> {

    /**
     * 根据合同id查询
     *
     * @param agreementId
     * @return
     */
    List<AgreementAttachFilePO> queryByAgreementId(@Param("agreementId") Long agreementId);

    /**
     * 根据合同id删除
     *
     * @param agreementId
     * @return
     */
    void deleteByAgreementId(@Param("agreementId") Long agreementId);
}